package com.onpositive.wiki3.db.catmodel.matches;

import com.onpositive.wiki3.db.catmodel.Category;
import com.onpositive.wiki3.db.catmodel.ICategoryMatcher;

public class RootsRemover implements ICategoryMatcher{

	@Override
	public int accept(Category st) {
		if (st.parentCount()==0){
			st.remove();
		}				
		return 0;
	}

}
